package com.ruoyi.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 任务路径表
 * @TableName sys_task_route
 */
@Data
@TableName(value ="sys_task_route")
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel("任务路径模型")
public class SysTaskRoute implements Serializable {

    @ApiModelProperty(value = "任务路径id")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "任务id")
    private Long taskId;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "路径顺序")
    private Integer sort;

    @ApiModelProperty(value = "巡河路径长度")
    private Long countdistance;

    @ApiModelProperty(value = "艏向(真北), 单位: deg, 范围:0 ~ 359.99")
    private Float heading;

    @ApiModelProperty(value = "纵摇，单位: deg, 范围: -90 ~ 90")
    private Float pitch;

    @ApiModelProperty(value = "横摇单位: deg, 范围:-180 ~ 180")
    private Float roll;

    @ApiModelProperty(value = "路径创建时间")
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
